package com.kehutong.common.schedule;


import com.coraframework.quartz.Job;
import com.coraframework.quartz.JobDetail;

public class NoticeJobDetail extends JobDetail {

	private static final long serialVersionUID = 3258372413530137595L;

	public NoticeJobDetail(String jobName, String jobGroup, Object task, Job job) {
		super(jobName, jobGroup, job.getClass());
		this.task = task;
	}

	public NoticeJobDetail(String jobName, String jobGroup, Object task, Class<? extends Job> job) {
		super(jobName, jobGroup, job);
		this.task = task;
	}
	

	private Object task;

	/**
	 * @return the task
	 */
	public Object getTask() {
		return task;
	}


	/**
	 * @param task the task to set
	 */
	public void setTask(Object task) {
		this.task = task;
	}
	
	
}
